Skip to content

ui: Update code formatting command in pre-commit hook - #24685

Merged
allozaur merged 5 commits into
ggml-org:masterfrom
allozaur:chore/pre-commit-hook-update
Jun 18, 2026
Merged

allozaur merged 5 commits into
ggml-org:masterfrom
allozaur:chore/pre-commit-hook-update

Conversation

@allozaur

Copy link
Copy Markdown
Contributor

Overview

Additional information

Requirements

This comment was marked as outdated.

@allozaur allozaur changed the title ui: Add code formatting command to pre-commit hook ui: Update code formatting command in pre-commit hook Jun 16, 2026
@allozaur
allozaur force-pushed the chore/pre-commit-hook-update branch from bda1123 to ec6a4ad Compare June 16, 2026 11:05
@allozaur
allozaur requested a review from CISC June 17, 2026 11:58
@allozaur
allozaur force-pushed the chore/pre-commit-hook-update branch from ec6a4ad to 9137ac3 Compare June 18, 2026 06:15
ServeurpersoCom and others added 5 commits June 18, 2026 08:30
- Move the svg size ceiling and DOMPurify config out of sanitize-svg.ts into /constants.
- Rename the svg-diagram class to svg-block so the name no longer implies diagrams only.
- Replace the svg, xml and svg tag magic strings in the markdown pipeline with shared constants.
- Promote the data-svg-rendered marker and its sibling data attributes to constants.
Mount each sanitized svg inside an open shadow root so author <style> and
keyframe or smil animations run while staying scoped to the host element.
Relax the sanitizer to forbid only foreignObject and script, which lets
animation, href and external resource refs through for wider compatibility.
Render the inline block and the zoom dialog from the same reactive source,
so a streaming svg keeps drawing live inside the open zoom popup.
@allozaur
allozaur force-pushed the chore/pre-commit-hook-update branch from 9137ac3 to 02007e1 Compare June 18, 2026 06:30
@allozaur
allozaur merged commit 0b73fc7 into ggml-org:master Jun 18, 2026
6 checks passed
adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
zbrad pushed a commit to zbrad/llama.cpp that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants